﻿using MediatR;
using Work.API.Dtos;
using Work.ErrorCode;

namespace Work.API.Applications.Read.Commands
{
    /// <summary>
    /// 登录请求
    /// </summary>
    public class LoginCommand:IRequest<ApiResult<LoginDTO>>
    {
        /// <summary>
        /// 用户名（用于登录）
        /// </summary>

        public string? Username { get; set; }

        /// <summary>
        /// 密码（存储加密后的密码）
        /// </summary>

        public string? Password { get; set; }
    }
}
